<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //下面几个比较运算符返回的都是boolean类型的数值/true/false
        var num1=10;
        var num2=20;

        console.log(num1>num2);


        console.log(num1==num2);


        var num3=100;
        var num4=100;
        
        console.log(num3==num4);
        console.log(num3===num4);

        var num5=12;
        var num6=18;

        console.log(num5!=num6);
    </script>
</body>
</html>